home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Garbo
/
Garbo.cdr
/
mac
/
hypercrd
/
hc1_2_x
/
smrtslds.sit
/
SmartSlides 1.1 Demo
/
card_6590.txt
< prev
next >
Wrap
Text File
|
1990-06-12
|
6KB
|
329 lines
-- card: 6590 from stack: in.1 Demo
-- bmap block id: 6826
-- flags: 0000
-- background id: 2635
-- name:
-- part 1 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=0 top=19 right=50 bottom=12
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Delay
----- HyperTalk script -----
on mouseUp
if the optionKey is down then GiveHelp "Delay "
else pass mouseUp
end mouseUp
on mousedown
if the optionKey is up then pass mouseDown
end mouseDown
-- part 2 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=0 top=55 right=86 bottom=12
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Beep
----- HyperTalk script -----
on mouseUp
if the optionKey is down then GiveHelp "Beep "
else pass mouseUp
end mouseUp
on mousedown
if the optionKey is up then pass mouseDown
end mouseDown
-- part 3 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=0 top=89 right=120 bottom=12
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: LockScreen
----- HyperTalk script -----
on mouseUp
if the optionKey is down then GiveHelp "LockScreen "
else pass mouseUp
end mouseUp
on mousedown
if the optionKey is up then pass mouseDown
end mouseDown
-- part 4 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=0 top=123 right=154 bottom=12
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Opener
----- HyperTalk script -----
on mouseUp
if the optionKey is down then GiveHelp "On OpenCard "
else pass mouseUp
end mouseUp
on mousedown
if the optionKey is up then pass mouseDown
end mouseDown
-- part 5 (field)
-- low flags: 01
-- high flags: 0000
-- rect: left=16 top=12 right=45 bottom=487
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 91
-- text size: 24
-- style flags: 0
-- line height: 32
-- part name: Title
-- part 9 (field)
-- low flags: 01
-- high flags: 2002
-- rect: left=330 top=110 right=242 bottom=447
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 91
-- text size: 18
-- style flags: 0
-- line height: 24
-- part name: Rectangle
-- part 8 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=330 top=110 right=242 bottom=447
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Graph
----- HyperTalk script -----
on mouseUp
if the optionKey is down then GiveHelp "Draw Graph "
else pass mouseUp
end mouseUp
on mousedown
if the optionKey is up then pass mouseDown
end mouseDown
-- part 7 (button)
-- low flags: 80
-- high flags: A003
-- rect: left=386 top=284 right=306 bottom=486
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Area╩OK
----- HyperTalk script -----
on mouseUp
send GetGraphLabels to field "Scripts"
end mouseUp
on mouseDown
end mouseDown
-- part 6 (field)
-- low flags: 81
-- high flags: 2002
-- rect: left=66 top=62 right=259 bottom=285
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 256
-- line height: 16
-- part name: GraphArea
----- HyperTalk script -----
on mouseUp
end mouseUp
on mouseDown
end mouseDown
-- part contents for background part 283
----- text -----
9
-- part contents for background part 33
----- text -----
scroll left slowly to card
scroll right slowly to card
-- part contents for card part 5
----- text -----
Pie Graph
-- part contents for background part 147
----- text -----
Enter X and Y numerical values
in the columns at the left.
X values should be in ascending
or descending order.
If X column is left empty,
equal unlabelled intervals
will be assumed.
For pie graphs, use Y column only.
-- part contents for background part 144
----- text -----
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
-- part contents for background part 143
----- text -----
7
8
10
13
14
12
9
7
6
6
7
9
13
19
22
-- part contents for background part 155
----- text -----
6
7
Pie
8
-- part contents for card part 6
----- text -----
Adjust the size and location of this field to the size and location desired for your graph.
Allow some room at left and bottom for labels.
Then restore browse tool
and click "Area OK".
-- part contents for background part 166
----- text -----
15
-- part contents for background part 173
----- text -----
25
-- part contents for background part 170
----- text -----
0
-- part contents for background part 177
----- text -----
0
-- part contents for background part 168
----- text -----
3
-- part contents for background part 175
----- text -----
5
-- part contents for background part 231
----- text -----
MONTH
-- part contents for background part 230
----- text -----
INCOME
-- part contents for background part 277
----- text -----
Select desired type of graph:
-- part contents for card part 9
----- text -----
Click
Here
to Draw
Pie
Graph
-- part contents for background part 142
----- text -----
Opener
Graph